home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / linuxdoc-sgml-1.1 / sgmls-1.1 / thinkc.cfg < prev    next >
Encoding:
Text File  |  1995-05-03  |  4.1 KB  |  145 lines

  1. /* thinkc.cfg: Configuration file for sgmls on the MAC with THINK C. */
  2. /* Contributed by John Chew (jjch@@AIS.Berger-Levrault.FR) */
  3.  
  4. /* Define this to allow tracing. */
  5. /* #define TRACE 1 */
  6.  
  7. /* Define HAVE_EXTENDED_PRINTF if your *printf functions supports
  8. X/Open extensions; if they do, then, for example,
  9.  
  10.   printf("%2$s%1$s", "bar", "foo")
  11.  
  12. should print `foobar'.  */
  13.  
  14. /* #define HAVE_EXTENDED_PRINTF 1 */
  15.  
  16. /* Define HAVE_CAT if your system provides the X/Open message
  17. catalogue functions catopen() and catgets(), and you want to use them.
  18. An implementations of these functions is included and will be used if
  19. you don't define this.  On SunOS 4.1.1, if you do define this you
  20. should set CC=/usr/xpg2bin/cc in the makefile. */
  21.  
  22. /* #define HAVE_CAT 1 */
  23.  
  24. #ifdef __STDC__
  25. /* Define this if your compiler supports prototypes. */
  26. #define USE_PROTOTYPES 1
  27. #endif
  28.  
  29. #ifdef __OBJECTCENTER__
  30. /* Define this if you have <varargs.h> but not <stdarg.h> */
  31. /* #define VARARGS 1 */
  32. #endif
  33.  
  34. #ifndef USE_PROTOTYPES
  35. /* Use VARARGS if prototypes are not supported. */
  36. #ifndef VARARGS
  37. #define VARARGS 1
  38. #endif
  39. #endif /* not USE_PROTOTYPES */
  40.  
  41. /* Define this if you do not have strerror(). */
  42. /* #define STRERROR_MISSING 1 */
  43.  
  44. /* Define this unless the character testing functions in ctype.h
  45. are defined for all values representable as an unsigned char.  You do
  46. not need to define this if your system is ANSI C conformant.  You
  47. should define for old Unix systems. */
  48. /* #define USE_ISASCII 1 */
  49.  
  50. /* Define this if your system provides the BSD style string operations
  51. rather than ANSI C ones (eg bcopy() rather than memcpy(), and index()
  52. rather than strchr()). */
  53. /* #define BSD_STRINGS 1 */
  54.  
  55. /* Define this if you have getopt(). */
  56. /* #define HAVE_GETOPT 1 */
  57.  
  58. #define PATH_FILE_SEP ':'
  59. #define DEFAULT_PATH "/8214808651/lib/%O/%C/%T;%N.%X;%N.%D"
  60. #define PATH_ENV_VAR "SGML_PATH"
  61. #define SYSID_FILE_SEP ':'
  62. #define MIN_DAT_SUBS_FROM " /"
  63. #define MIN_DAT_SUBS_TO   "_%"
  64.  
  65. /* Define this if you have access(). */
  66. /* #define HAVE_ACCESS 1 */
  67.  
  68. /* Define this if you have <unistd.h>. */
  69. /* #define HAVE_UNISTD_H 1 */
  70.  
  71. /* Define this if you have waitpid(). */
  72. /* #define HAVE_WAITPID 1 */
  73.  
  74. /* Define this you want support for subdocuments.  This is implemented
  75. using features that are not part of Standard C. */
  76. /* #define SUPPORT_SUBDOC 1 */
  77.  
  78. /* Define this if your system is POSIX.1 (ISO 9945-1:1990) compliant. */
  79. /* #define POSIX 1 */
  80.  
  81. /* POSIX.1 compliant systems will certainly have access(), <unistd.h>,
  82. and waitpid(). */
  83. #ifdef POSIX
  84. #ifndef HAVE_ACCESS
  85. #define HAVE_ACCESS 1
  86. #endif
  87. #ifndef HAVE_UNISTD_H
  88. #define HAVE_UNISTD_H 1
  89. #endif
  90. #ifndef HAVE_WAITPID
  91. #define HAVE_WAITPID 1
  92. #endif
  93. #endif /* POSIX */
  94.  
  95. /* Define this if you have the vfork() system call. */
  96. /* #define HAVE_VFORK 1 */
  97.  
  98. /* Define this if you have <vfork.h>. */
  99. /* #define HAVE_VFORK_H 1 */
  100.  
  101. /* Define this if you don't have <stdlib.h> */
  102. /* #define STDLIB_H_MISSING 1 */
  103.  
  104. /* Define this if you don't have <stddef.h> */
  105. /* #define STDDEF_H_MISSING 1 */
  106.  
  107. /* Define this if you don't have remove(); unlink() will be used instead. */
  108. /* #define REMOVE_MISSING 1 */
  109.  
  110. /* Define this if you don't have raise(); kill() will be used instead. */
  111. /* #define RAISE_MISSING 1 */
  112.  
  113. /* Universal pointer type. */
  114. /* Use this if your compiler doesn't fully support void * */
  115. /* typedef char *UNIV; */
  116. /* Otherwise use this */
  117. typedef void *UNIV;
  118.  
  119. typedef void VOID;            /* void as a function return type */
  120.  
  121. /* If you don't have an ANSI C conformant <limits.h>, define
  122. CHAR_SIGNED as 1 or 0 according to whether the `char' type is signed.
  123. The <limits.h> on some versions of System Release V 3.2 is not ANSI C
  124. conformant: the value of CHAR_MIN is 0 even though the `char' type is
  125. signed. */
  126.  
  127. /* #define CHAR_SIGNED 1 */
  128. /* #define CHAR_SIGNED 0 */
  129. #ifndef CHAR_SIGNED
  130. #include <limits.h>
  131. #if CHAR_MIN < 0
  132. #define CHAR_SIGNED 1
  133. #else
  134. #define CHAR_SIGNED 0
  135. #endif
  136. #endif /* not CHAR_SIGNED */
  137.  
  138. /* Assume the system character set is ISO Latin-1. */
  139. #include "latin1.h"
  140.  
  141. #include <console.h>
  142.  
  143. /* This is called by main().  It prompts for a Unix style command line. */
  144. #define MAIN_HOOK(argc, argv) (argc = ccommand(&argv))
  145.